package com.smxpt.Service.Impl;

import com.smxpt.Dao.UserDao;
import com.smxpt.Service.UserService;

public class UserServiceImpl implements UserService {
    UserDao userDao;
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
    @Override
    public boolean login(String name, String password) {
        return userDao.login(name, password);
    }
}
